package com.oa.bean.finance;

import java.math.BigDecimal;
import java.util.HashSet;
import java.util.Set;

import com.oa.bean.work.Applygoods;
/**
 * 
 *支出管理表
 */
public class Expenditure {
	
	private int payid;
	private String paypro;//支出原因
	private BigDecimal paycount;//支出金额
	private int appid;
	
	private Set<Pays> payss = new HashSet<Pays>();
	
	private Set<Applygoods> applygoods = new HashSet<Applygoods>();
	
	public Expenditure(){}
	
	public Expenditure(int payid, String paypro, BigDecimal paycount, int appid) {
		super();
		this.payid = payid;
		this.paypro = paypro;
		this.paycount = paycount;
		this.appid = appid;
	}

	public Set<Applygoods> getApplygoods() {
		return applygoods;
	}

	public void setApplygoods(Set<Applygoods> applygoods) {
		this.applygoods = applygoods;
	}

	public int getPayid() {
		return payid;
	}

	public void setPayid(int payid) {
		this.payid = payid;
	}

	public String getPaypro() {
		return paypro;
	}

	public void setPaypro(String paypro) {
		this.paypro = paypro;
	}

	public BigDecimal getPaycount() {
		return paycount;
	}

	public void setPaycount(BigDecimal paycount) {
		this.paycount = paycount;
	}

	public int getAppid() {
		return appid;
	}

	public void setAppid(int appid) {
		this.appid = appid;
	}

	public Set<Pays> getPayss() {
		return payss;
	}

	public void setPayss(Set<Pays> payss) {
		this.payss = payss;
	}

	@Override
	public String toString() {
		return "Expenditure [payid=" + payid + ", paypro=" + paypro + ", paycount=" + paycount + ", appid=" + appid
				+ "]";
	}
}
